package example.lesson02_03;

import java.util.Scanner;
public class TestScanner {
    public static void main(String[] args){
        Scanner input = new Scanner(System.in);
        System.out.println("int: ");
        int i = input.nextInt();
        input.nextLine();

        System.out.println("double: ");
        double d = input.nextDouble();
        input.nextLine();

        System.out.println("string: ");
        String str = input.nextLine();

        System.out.println(i + ":" + d + ":" + str);
    }
}
